import tkinter as tk

def say_hello():
    label.config(text="Hello, World!")

root = tk.Tk()
label = tk.Label(root, text="Click me!")
button = tk.Button(root, text="Say Hello", command=say_hello)
label.pack()
button.pack()

root.mainloop()